﻿@model DealKhuyenMaiV2.com.Models.Product
@{
    ViewBag.Title = "Duyệt sản phẩm";
    Layout = "~/Views/Admin/Shared/_AdminLayout.cshtml";
}
<style>
    .table-cotent {
        
    }
    .display-label {
        font-size: 15px;
        color: #0055A8;
    }
</style>
<h2>
    Duyệt sản phẩm
</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<fieldset>
    <legend>Sản phẩm</legend>
    <table class="table-content">
        <tbody>
            <tr>
                <td>
                    <div class="display-label">Tên sản phẩm</div>                                    
                </td>
                <td>
                    <div class="display-field">
                        @Html.DisplayFor(model => model.NameProduct)
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="display-label">
                        Price</div>                      
                </td>
                <td>
                    <div class="display-field">
                        @Html.DisplayFor(model => model.Price)
                    </div>
                </td>
            </tr>
            
            <tr>
                <td>
                   <div class="display-label">
        Discount</div>
                </td>
                <td>
                    
    <div class="display-field">
        @Html.DisplayFor(model => model.Discount)
    </div>
                </td>
            </tr>
            
            <tr>
                <td>
                   
    <div class="display-label">
        Date_start</div>
                </td>
                <td>
                    
    <div class="display-field">
        @Html.DisplayFor(model => model.Date_start)
    </div>
                </td>
            </tr>
            
            <tr>
                <td>
                   
    <div class="display-label">
        Date_end</div>
                </td>
                <td>
                    
    <div class="display-field">
        @Html.DisplayFor(model => model.Date_end)
    </div>
                </td>
            </tr>
            
            <tr>
                <td>
                   
    <div class="display-label">
        Account</div>
                </td>
                <td>
                    
    <div class="display-field">
        @Html.DisplayFor(model => model.Account.Email)
    </div>
                </td>
            </tr>
            
            <tr>
                <td>
                   <div class="display-label">
        Shipping</div>
                </td>
                <td>
                    
    <div class="display-field">
        @Html.DisplayFor(model => model.Shipping)
    </div>
                </td>
            </tr>
            
            <tr>
                <td>
                   
                    <div class="display-label">
                        StatusProduct</div>
                </td>
                <td>
                    
                    <div class="display-field">
                        @Html.DisplayFor(model => model.StatusProduct.NameStatus)
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    
                    <div class="display-label">
                        DateAdded</div>
                </td>
                <td>
                    
                    <div class="display-field">
                        @Html.DisplayFor(model => model.DateAdded)
                    </div>
                </td>
            </tr>
            
            <tr>
                <td>
                    
                    <div class="display-label">
                        Catalogy</div>
                </td>
                <td>
                    
                    <div class="display-field">
                        @Html.DisplayFor(model => model.Catalogy.NameCatalogy)
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    
                    <div class="display-label">
                        SortOrder</div>
                </td>
                <td>
                    
                    <div class="display-field">
                        @Html.DisplayFor(model => model.SortOrder)
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    
                    <div class="display-label">
                        TotalOfNumber</div>
                </td>
                <td>
                    
                    <div class="display-field">
                        @Html.DisplayFor(model => model.TotalOfNumber)
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    
                    <div class="display-label">
                        NumberOfPurchased&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                </td>
                <td>
                    
                    <div class="display-field">
                        @Html.DisplayFor(model => model.NumberOfPurchased)
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="display-label">
                        AllowableNumber</div>
                </td>
                <td>
                    <div class="display-field">
                        @Html.DisplayFor(model => model.AllowableNumber)
                    </div>

                </td>
            </tr>
        </tbody>
    </table>
    
    
    
    
    
    
    
    <div class="display-label">
        Description</div>
    <div class="display-field">
        @Html.Raw(Model.Description)
    </div>
    
    <div class="display-label">
        Condition</div>
    <div class="display-field">
        @* @Html.DisplayFor(model => model.Condition)*@
        @*@Html.TextAreaFor(model => model.Condition, 5, 100, new { @readonly = "readonly" });*@
        @Html.Raw(Model.Condition)
    </div>
    <div class="display-label">
        Summary</div>
    <div class="display-field">
        @*@Html.DisplayFor(model => model.Summary)*@
        @*@Html.TextAreaFor(model => model.Summary, 5, 100, new { @readonly = "readonly" });*@
        @Html.Raw(Model.Summary)
    </div>
    
</fieldset>
@using (Html.BeginForm())
{
    <p>
        <input type="submit" value="Duyệt Sản Phẩm" />
    </p>
    <p>
        @Html.ActionLink("trở lại danh sách", "DuyetTinKhuyenMai")
    </p>
}